package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.CheckItem;

import java.util.List;
import java.util.Map;

public interface CheckGroupDao {
   public void add(CheckGroup checkGroup);
   public void addCheckGroupIdAndCheckItemId(Map<String,Integer> map);
   public Page<CheckGroup> findPage(String queryString);
   public CheckGroup findById(Integer id);
   public Integer[] findCheckItemIdsByCheckGroupId(Integer checkGroupId);
   public void edit(CheckGroup checkGroup);
   public void deleteAssociation(Integer checkGroupId);
   public Long findCountByCheckGroupId(Integer id);
   public void deleteByCheckGroupId(Integer id);
   public List<CheckGroup> findAll();


   public List<CheckGroup> findAllBySetmealId(Integer setmealId);




}
